home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 …SCII & the Runetime Code / ADC Developer CD (1992-07) (''Butch ASCII And The Runtime Code'')_iso / Dev.CD 199207.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / Sample Code Notes / SCN.001.Sample < prev    next >
Encoding:
Text File  |  1992-06-03  |  3.1 KB  |  80 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #1:    Sample
  7.  
  8. Written by:    Darin Adler, Mark Bennett, and Jim Reekes
  9.  
  10. Versions:            1.00                        August 1988
  11.                     1.01                        November 1988
  12.                     1.02                        April 1989
  13.                     1.03                        June 1989
  14.                     1.04                        June 1992
  15.  
  16.  
  17. Components:            Sample.p                June 1, 1989
  18.                     Sample.c                June 1, 1989
  19.                     SampleInit.c            June 2, 1992
  20.                     Sample.a                June 1, 1989
  21.                     Sample.inc1.a            June 1, 1989
  22.                     SampleMisc.a            June 1, 1989
  23.                     Sample.r                June 1, 1989
  24.                     Sample.h                June 1, 1989
  25.                     PSample.make            June 1, 1989
  26.                     CSample.make            June 1, 1989
  27.                     ASample.make            June 1, 1989
  28.                     CSample.π                June 2, 1992
  29.                     CSample.π.rsrc            June 2, 1992
  30. ____________________________________________________________________________
  31.  
  32. Major changes since 1.0
  33. Revamped the way that memory availability is checked and handled 
  34. at initialization.  Substantially changed the way windows are 
  35. closed.  Added an error message dialog to better inform users, and 
  36. improved error handling in general.  Finally, put a funny hack 
  37. into the C version so we could call _PurgeSpace under MPW 2.0.2.
  38.  
  39. Search for “1.01” in the code to find all the specific changes.
  40.  
  41. Major changes since 1.01
  42. Removed all dependencies on MPW 2.0; this version requires MPW 3.0 
  43. or later.  Improved TrapAvailable to handle differences between 
  44. machines prior to the Macintosh II and the Macintosh II and later 
  45. models.
  46.  
  47. Search for “1.02” in the code to find all the specific changes.
  48.  
  49. Major Changes for 1.04
  50. This version requires MPW 3.2 or THINK C 5.0
  51. Sample now works with THINK C 5.0.
  52. This involved separating Sample.c, the original C version, into two
  53. separate files, one for segment Main, and one for Segment Initialize.
  54. This was due to the way that THINK C handles its segmentation.
  55. Also a THINK C project file and resource (.rsrc) file were created.
  56. In Sample.inc1.a, some data structure EQUates were commented out
  57. because they were added to the MPW 3.2 header files.
  58. _____________________________________________________________________________
  59.  
  60. Sample is an example application that demonstrates how to 
  61. initialize the commonly used Toolbox managers, operate 
  62. successfully under MultiFinder, handle desk accessories, and 
  63. create, grow, and zoom windows.
  64.  
  65. It does not, by any means, demonstrate all the techniques you need 
  66. for a large application.  In particular, Sample does not cover 
  67. exception handling, multiple windows or documents, sophisticated 
  68. memory management, printing, or undo, all of which are vital parts 
  69. of a normal full-sized application.
  70.  
  71. This application is an example of the form of a Macintosh 
  72. application; it is not a template.  It is not intended to be used 
  73. as a foundation for the next world-class, best-selling, 600K 
  74. application.  A stick figure drawing of the human body may be a 
  75. good example of the form for a painting, but that does not mean it 
  76. should be used as the basis for the next Mona Lisa.
  77.  
  78. We recommend that you review this program or TESample before 
  79. beginning a new application.
  80.